package com.wyk.handler;

import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;

/**
 * @InterfaceName: TypeHandler
 * @Description:
 * @Author: 初久
 * @Date: 2022/7/11 22:27
 **/
public interface TypeHandler<T> {

    void setParameter(PreparedStatement statement, int pose, T value) throws SQLException;

    T getParameter(ResultSet resultSet, String columnName) throws SQLException;

}
